<template>
  <div>
    <Header></Header>
      <router-view></router-view>
    <Footer></Footer>
    <!-- <Footer v-show="$route.meta.show"></Footer> -->
  </div>
</template>

<script>
import Header from '@/components/Header.vue'
import Footer from '@/components/Footer.vue'
// import TypeNav from '@/components/TypeNav.vue'
export default {
  components: { Header, Footer },
  mounted() {
    // 派发action || 获取商品三级列表的数据
    this.$store.dispatch('categoryList')    
  }
}
</script>

<style>

</style>